package com.ruoyi.front_desk.FrontdeskRepresentativePerformance.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * @author 刘奥旸
 * @version 1.0
 */
@TableName(value = "representative_performance")
public class FrontdeskRepresentativePerformance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    private Long id;

    /** 代表的唯一标识 */
    @Excel(name = "代表的唯一标识")
    private Long representativeId;

    /** 代表姓名 */
    @Excel(name = "代表姓名")
    private String representativeName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    /** 履职活动的标题 */
    @Excel(name = "履职活动的标题")
    private String title;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String description;

    /** 活动开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 活动结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 活动地点 */
    @Excel(name = "活动地点")
    private String location;

    /** 上传的图片路径 */
    @Excel(name = "上传的图片路径")
    private String imagePath;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String logDescription;

    /** 纪实日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "纪实日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logDate;

    /** 审核状态（如通过、未通过、待审核） */
    @Excel(name = "审核状态", readConverterExp = "如=通过、未通过、待审核")
    private String reviewStatus="待审核";

    /** 审核人ID */
    @Excel(name = "审核人ID")
    private Long reviewerId;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String reviewComments;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewedAt;

    /** 发布状态 */
    @Excel(name = "发布状态")
    private String publicationStatus;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishedAt;

    /** 预留整数字段 */
    @Excel(name = "预留整数字段")
    private Long reservedInt;

    /** 预留字符串字段 */
    @Excel(name = "预留字符串字段")
    private String reservedVarchar;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRepresentativeId(Long representativeId)
    {
        this.representativeId = representativeId;
    }

    public Long getRepresentativeId()
    {
        return representativeId;
    }
    public void setRepresentativeName(String representativeName)
    {
        this.representativeName = representativeName;
    }

    public String getRepresentativeName()
    {
        return representativeName;
    }
    public void setContactInfo(String contactInfo)
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo()
    {
        return contactInfo;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setImagePath(String imagePath)
    {
        this.imagePath = imagePath;
    }

    public String getImagePath()
    {
        return imagePath;
    }
    public void setLogDescription(String logDescription)
    {
        this.logDescription = logDescription;
    }

    public String getLogDescription()
    {
        return logDescription;
    }
    public void setLogDate(Date logDate)
    {
        this.logDate = logDate;
    }

    public Date getLogDate()
    {
        return logDate;
    }
    public void setReviewStatus(String reviewStatus)
    {
        this.reviewStatus = reviewStatus;
    }

    public String getReviewStatus()
    {
        return reviewStatus;
    }
    public void setReviewerId(Long reviewerId)
    {
        this.reviewerId = reviewerId;
    }

    public Long getReviewerId()
    {
        return reviewerId;
    }
    public void setReviewComments(String reviewComments)
    {
        this.reviewComments = reviewComments;
    }

    public String getReviewComments()
    {
        return reviewComments;
    }
    public void setReviewedAt(Date reviewedAt)
    {
        this.reviewedAt = reviewedAt;
    }

    public Date getReviewedAt()
    {
        return reviewedAt;
    }
    public void setPublicationStatus(String publicationStatus)
    {
        this.publicationStatus = publicationStatus;
    }

    public String getPublicationStatus()
    {
        return publicationStatus;
    }
    public void setPublishedAt(Date publishedAt)
    {
        this.publishedAt = publishedAt;
    }

    public Date getPublishedAt()
    {
        return publishedAt;
    }
    public void setReservedInt(Long reservedInt)
    {
        this.reservedInt = reservedInt;
    }

    public Long getReservedInt()
    {
        return reservedInt;
    }
    public void setReservedVarchar(String reservedVarchar)
    {
        this.reservedVarchar = reservedVarchar;
    }

    public String getReservedVarchar()
    {
        return reservedVarchar;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("representativeId", getRepresentativeId())
                .append("representativeName", getRepresentativeName())
                .append("contactInfo", getContactInfo())
                .append("title", getTitle())
                .append("description", getDescription())
                .append("startDate", getStartDate())
                .append("endDate", getEndDate())
                .append("location", getLocation())
                .append("imagePath", getImagePath())
                .append("logDescription", getLogDescription())
                .append("logDate", getLogDate())
                .append("reviewStatus", getReviewStatus())
                .append("reviewerId", getReviewerId())
                .append("reviewComments", getReviewComments())
                .append("reviewedAt", getReviewedAt())
                .append("publicationStatus", getPublicationStatus())
                .append("publishedAt", getPublishedAt())
                .append("reservedInt", getReservedInt())
                .append("reservedVarchar", getReservedVarchar())
                .toString();
    }
}
